package pausing;

public abstract class Pauseable {
	private boolean isPaused = false;

	public void togglePauseFlag() {
		isPaused = !isPaused;
	}
	
	public void setPauseFlag(boolean paused) {
		isPaused = paused;
	}
	
	public boolean isPaused() {
		return isPaused;
	}
	
}
